#pragma once

#ifndef SCORE_H
#define SCORE_H

#include <iostream>
#include <ostream>
#include <string>
#include <vector>

using namespace std;

class Score {
    friend ostream &operator<<(ostream &, const Score &);
    friend istream &operator>>(istream &, Score &);

public:
    Score();
    Score(double);
    Score(const string &, const string &, const string &, double = 0);
    void   setStudentId(const string &);
    void   setStudentName(const string &);
    void   setCourseName(const string &);
    void   setScore(double);
    string getStudentId() const;
    string getStudentName() const;
    string getCourseName() const;
    double getScore() const;

private:
    string studentid;
    string studentname;
    string coursename;
    double score;
};
#endif // !SCORE_H
